package com.six.backend.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author 张重阳
 * @Date 2021-11-09 13:33
 * @Version 1.0
 */

@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@Builder
@ApiModel("会议纪要")
public class Summary {
    @NotNull
    @ApiModelProperty("纪要编号")
    private Integer summaryId;

    @NotNull
    @ApiModelProperty("素材编号")
    private String materialId;

    @NotNull
    @ApiModelProperty("所属会议")
    private int belongConferenceId;

    @NotNull
    @ApiModelProperty("纪要名称")
    private String summaryName;

    @NotNull
    @ApiModelProperty("纪要撰写人")
    private String summaryWriterAccount;

    @NotNull
    @ApiModelProperty("文档名称")
    private String documentName;

    @NotNull
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("创建时间")
    private Date createDate;

    @NotNull
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("修改时间")
    private Date alterDate;

    @NotNull
    @ApiModelProperty("会议名称")
    private String conferenceName;

    @NotNull
    @ApiModelProperty("纪要撰写人姓名")
    private String summaryWriterName;

    @ApiModelProperty("会议纪要下载地址")
    private String address;
}
